<html>
<head><meta charset="utf-8"><title>miri build failure in stage2 · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/miri.20build.20failure.20in.20stage2.html">miri build failure in stage2</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="151040823"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/miri%20build%20failure%20in%20stage2/near/151040823" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Zach Reizner <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/miri.20build.20failure.20in.20stage2.html#151040823">(Dec 06 2018 at 20:28)</a>:</h4>
<p>I'm encountering an error in my bootstrapped build of 1.31.0. Anybody else encounter this?</p>
<div class="codehilite"><pre><span></span>Building stage2 tool miri (x86_64-unknown-linux-gnu)
   Compiling miri v0.1.0 (/var/tmp/portage/dev-lang/rust-1.31.0/work/rustc-1.31.0-src/src/tools/miri)
error: failed to run custom build command for `miri v0.1.0 (/var/tmp/portage/dev-lang/rust-1.31.0/work/rustc-1.31.0-src/src/tools/miri)`
process didn&#39;t exit successfully: `/var/tmp/portage/dev-lang/rust-1.31.0/work/rustc-1.31.0-src/build/x86_64-unknown-linux-gnu/stage2-tools/release/build/miri-fb46e632379e59e4/build-script-build` (exit code: 101)
--- stdout
cargo:rustc-env=PROFILE=release
cargo:rerun-if-changed=build.rs
cargo:rustc-env=VERGEN_SHA_SHORT=
cargo:rustc-env=VERGEN_TARGET_TRIPLE=x86_64-unknown-linux-gnu
cargo:rustc-env=VERGEN_SHA=
cargo:rustc-env=VERGEN_COMMIT_DATE=
cargo:rustc-env=VERGEN_BUILD_DATE=2018-12-06
cargo:rustc-env=VERGEN_SEMVER_LIGHTWEIGHT=0.1.0
cargo:rustc-env=VERGEN_SEMVER=0.1.0
cargo:rustc-env=VERGEN_BUILD_TIMESTAMP=2018-12-06T20:25:03.258039997+00:00

--- stderr
thread &#39;main&#39; panicked at &#39;Unable to generate vergen keys!: Os { code: 2, kind: NotFound, message: &quot;No such file or directory&quot; }&#39;, libcore/result.rs:1009:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

command did not execute successfully: &quot;/var/tmp/portage/dev-lang/rust-1.31.0/work/cargo-0.31.0-x86_64-unknown-linux-gnu/cargo/bin/cargo&quot; &quot;build&quot; &quot;--target&quot; &quot;x86_64-unknown-linux-gnu&quot; &quot;-j&quot; &quot;24&quot; &quot;--release&quot; &quot;--frozen&quot; &quot;--manifest-path&quot; &quot;/var/tmp/portage/dev-lang/rust-1.31.0/work/rustc-1.31.0-src/src/tools/miri/Cargo.toml&quot; &quot;--message-format&quot; &quot;json&quot;
expected success, got: exit code: 101
</pre></div>



<a name="151040858"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/miri%20build%20failure%20in%20stage2/near/151040858" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Zach Reizner <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/miri.20build.20failure.20in.20stage2.html#151040858">(Dec 06 2018 at 20:29)</a>:</h4>
<p>It seems like this may be caused by lack of <code>.git</code> information.</p>



<a name="151049720"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/miri%20build%20failure%20in%20stage2/near/151049720" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Zach Reizner <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/miri.20build.20failure.20in.20stage2.html#151049720">(Dec 06 2018 at 22:42)</a>:</h4>
<p>This is filed as <a href="https://github.com/rust-lang/rust/issues/56576" target="_blank" title="https://github.com/rust-lang/rust/issues/56576">https://github.com/rust-lang/rust/issues/56576</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>